﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

/// <summary>
/// 排序
/// </summary>
public interface ICollateStrategy
{
    /// <summary>
    /// 排序方法
    /// </summary>
    void ReOrder(nLayerOrder startOrder, ref List<ObjectBase> unitobjects);

    /// <summary>
    /// 排序单个
    /// </summary>
    /// <param name="startOrder"></param>
    /// <param name="ob"></param>
    void OBOrder(nLayerOrder startOrder, ObjectBase ob);
}
